import request from '@/util/request.js'
export const selectDepartList = function (params = {}) {
  return request.get('/admin/faculties', {
    params,
  })
}

export const deleteDepartList = function (params = {}) {
  return request.delete('/admin/faculties', {
    params,
  })
}

export const insertDepart = function (data = {}) {
  return request.post('/admin/faculties', data)
}

export const updateDepart = function (data = {}) {
  return request.put('/admin/faculties', data)
}
